
    <!DOCTYPE html>
    <!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
    <!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
    <!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->
    <!-- BEGIN HEAD -->
    <head>
    <meta charset="utf-8" />
    <meta content="width=device-width, initial-scale=1.0" name="viewport" />
    <meta content="" name="description" />
    <meta content="" name="author" />
    <!-- BEGIN GLOBAL MANDATORY STYLES -->
    <link href="/greencms/Public/admin/assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
    <link href="/greencms/Public/admin/assets/plugins/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css"/>
    <link href="/greencms/Public/admin/assets/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
    <link href="/greencms/Public/admin/assets/css/style-metro.css" rel="stylesheet" type="text/css"/>
    <link href="/greencms/Public/admin/assets/css/style.css" rel="stylesheet" type="text/css"/>
    <link href="/greencms/Public/admin/assets/css/style-responsive.css" rel="stylesheet" type="text/css"/>
    <link href="/greencms/Public/admin/assets/css/themes/default.css" rel="stylesheet" type="text/css" id="style_color"/>
    <link href="/greencms/Public/admin/assets/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
    <!-- END GLOBAL MANDATORY STYLES -->
    <!-- BEGIN PAGE LEVEL STYLES -->
    <link rel="stylesheet" type="text/css" href="/greencms/Public/admin/assets/plugins/select2/select2_metro.css" />
    <link rel="stylesheet" href="/greencms/Public/admin/assets/plugins/data-tables/DT_bootstrap.css" />

    <link href="/greencms/Public/admin/assets/plugins/bootstrap-fileupload/bootstrap-fileupload.css" rel="stylesheet" type="text/css" />
    <link href="/greencms/Public/admin/assets/plugins/chosen-bootstrap/chosen/chosen.css" rel="stylesheet" type="text/css" />
    <link href="/greencms/Public/admin/assets/css/pages/profile.css" rel="stylesheet" type="text/css" />
    
    <!-- END PAGE LEVEL STYLES -->
    <link rel="shortcut icon" href="/greencms/Public/images/logo.png" /><title>缓存清理 | 绿荫工作室</title>
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body class="page-header-fixed">
	<!-- BEGIN HEADER -->
	<div class="header navbar navbar-inverse navbar-fixed-top">
		<!-- BEGIN TOP NAVIGATION BAR -->
		<div class="navbar-inner">
			<div class="container-fluid">
				<!-- BEGIN LOGO -->
				<a class="brand" href="/greencms/admin/index/index"> <img
					src="/greencms/Public/admin/assets/img/logo.png" alt="logo" />
				</a>
				<!-- END LOGO -->
				<!-- BEGIN RESPONSIVE MENU TOGGLER -->
				<a href="javascript:;" class="btn-navbar collapsed"
					data-toggle="collapse" data-target=".nav-collapse"> <img
					src="/greencms/Public/admin/assets/img/menu-toggler.png" alt="" />
				</a>
				<!-- END RESPONSIVE MENU TOGGLER -->
				<!-- BEGIN TOP NAVIGATION MENU -->
				<ul class="nav pull-right">
					<!-- BEGIN USER LOGIN DROPDOWN -->
					<li class="dropdown user"><a href="#" class="dropdown-toggle"
						data-toggle="dropdown"> <img alt=""
							src="/greencms/Public/admin/assets/img/avatar1_small.jpg" /> <span
							class="username">admin</span> <i class="icon-angle-down"></i>
					</a>
						<ul class="dropdown-menu">
							<li><a href="/greencms/admin/index/index"><i
									class="icon-user"></i>个人信息</a></li>
							<li class="divider"></li>
							<li><a href="/greencms/admin/login/index"><i
									class="icon-key"></i>退出</a></li>
						</ul></li>
					<!-- END USER LOGIN DROPDOWN -->
				</ul>
				<!-- END TOP NAVIGATION MENU -->
			</div>
		</div>
		<!-- END TOP NAVIGATION BAR -->
	</div>
	<!-- END HEADER -->
	<!-- BEGIN CONTAINER -->
	<div class="page-container row-fluid">
		<!-- BEGIN SIDEBAR -->
		<div class="page-sidebar nav-collapse collapse">
			<!-- BEGIN SIDEBAR MENU -->
			<ul class="page-sidebar-menu">
				<li>
					<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
					<div class="sidebar-toggler hidden-phone"></div> <!-- BEGIN SIDEBAR TOGGLER BUTTON -->
				</li> <li class="start active"><a href="javascript:;">
                <i class="icon-home"></i> 
                <span class="title">首页</span>
                <span class="arrow "></span>
                </a><ul class="sub-menu"><li class=""><a href="/greencms/admin/index/index">基本信息</a></li><li class=""><a href="/greencms/admin/index/myInfo">修改密码</a></li><li class="active"><a href="/greencms/admin/index/cache">缓存清理</a></li><li class=""><a href="/greencms/admin/posts/add">文章发布</a></li></ul></li><li class=""><a href="javascript:;">
                    <i class="icon-cogs"></i> 
                    <span class="title">用户管理</span>
                    <span class="arrow "></span>
                    </a><ul class="sub-menu"><li class=""><a href="/greencms/admin/member/index">注册用户列表</a></li><li class=""><a href="/greencms/admin/member/add">添加注册用户</a></li></ul></li><li class=""><a href="javascript:;">
                    <i class="icon-cogs"></i> 
                    <span class="title">文章管理</span>
                    <span class="arrow "></span>
                    </a><ul class="sub-menu"><li class=""><a href="/greencms/admin/posts/index">新闻列表</a></li><li class=""><a href="/greencms/admin/posts/category">分类管理</a></li><li class=""><a href="/greencms/admin/posts/tag">标签管理</a></li><li class=""><a href="/greencms/admin/posts/add">发布文章</a></li></ul></li><li class=""><a href="javascript:;">
                    <i class="icon-cogs"></i> 
                    <span class="title">系统设置</span>
                    <span class="arrow "></span>
                    </a><ul class="sub-menu"><li class=""><a href="/greencms/admin/webinfo/index">站点配置</a></li><li class=""><a href="/greencms/admin/webinfo/setEmailConfig">邮箱配置</a></li><li class=""><a href="/greencms/admin/webinfo/setSafeConfig">安全配置</a></li></ul></li><li class=""><a href="javascript:;">
                    <i class="icon-cogs"></i> 
                    <span class="title">数据管理</span>
                    <span class="arrow "></span>
                    </a><ul class="sub-menu"><li class=""><a href="/greencms/admin/sys_data/index">数据库备份</a></li><li class=""><a href="/greencms/admin/sys_data/restore">数据库导入</a></li><li class=""><a href="/greencms/admin/sys_data/zipList">数据库压缩包</a></li><li class=""><a href="/greencms/admin/sys_data/repair">数据库优化修复</a></li></ul></li><li class="last"><a href="javascript:;">
                    <i class="icon-cogs"></i> 
                    <span class="title">权限管理</span>
                    <span class="arrow "></span>
                    </a><ul class="sub-menu"><li class=""><a href="/greencms/admin/access/index">后台用户</a></li><li class=""><a href="/greencms/admin/access/nodeList">节点管理</a></li><li class=""><a href="/greencms/admin/access/roleList">角色管理</a></li><li class=""><a href="/greencms/admin/access/addAdmin">添加管理员</a></li><li class=""><a href="/greencms/admin/access/addNode">添加节点</a></li><li class=""><a href="/greencms/admin/access/addRole">添加角色</a></li></ul></li>			</ul>
			<!-- END SIDEBAR MENU -->
		</div>
		<!-- END SIDEBAR -->
		<!-- BEGIN PAGE -->
		<div class="page-content">
			<!-- BEGIN PAGE CONTAINER-->
			<div class="container-fluid">
				<!-- BEGIN PAGE HEADER-->
				<div class="row-fluid">
					<div class="span12">
						<!-- BEGIN PAGE TITLE & BREADCRUMB-->
						<h3 class="page-title">
							缓存清理<small>&nbsp;&nbsp;绿荫工作室</small>
						</h3>
						<ul class="breadcrumb">
							<li><a href="/greencms/admin/index/index">首页</a> <i
								class="icon-angle-right"></i></li>
							<li><a href="/greencms/admin/index/cache">缓存清理</a></li>
						</ul>
						<!-- END PAGE TITLE & BREADCRUMB-->
					</div>
				</div>
				<!-- END PAGE HEADER-->
				<!-- BEGIN PAGE CONTENT-->
				<div class="row-fluid profile">
					<div class="span12">
						<!--BEGIN TABS-->
						<div class="tabbable tabbable-custom tabbable-full-width">
							<div class="tab-content">
								<div class="tab-pane row-fluid active" id="tab_1_1">

									<div class="span9">






										<div class="portlet box light-grey">
											<div class="portlet-title">
												<div class="caption">
													<i class="icon-globe"></i>缓存清理												</div>
											</div>
											<div class="portlet-body">
												<form method="post">
													<table
														class="table table-striped table-bordered table-hover">

														<thead>
															<tr>
																<th style="width: 8px;">选择
																
																
																</th>
																<th class="hidden-240">名称</th>
																<th class="hidden-480">路径</th>
																<th class="">缓存大小</th>
															</tr>
														</thead>
														<tbody id="cache_table">
															<tr>
																<td width="30" align="center"><input
																	class='groupclass' type="checkbox" name="cache[]"
																	value="HomeCache" /></td>
																<td>网站缓存文件</td>
																<td>(./App/Runtime/Cache)</td>
																<td>0.05K</td>
															</tr><tr>
																<td width="30" align="center"><input
																	class='groupclass' type="checkbox" name="cache[]"
																	value="HomeData" /></td>
																<td>网站数据库字段缓存文件</td>
																<td>(./App/Runtime/Data)</td>
																<td>0.00B</td>
															</tr><tr>
																<td width="30" align="center"><input
																	class='groupclass' type="checkbox" name="cache[]"
																	value="AdminLog" /></td>
																<td>网站日志缓存文件</td>
																<td>(./App/Runtime/Logs)</td>
																<td>5.34K</td>
															</tr><tr>
																<td width="30" align="center"><input
																	class='groupclass' type="checkbox" name="cache[]"
																	value="AdminTemp" /></td>
																<td>网站临时缓存文件</td>
																<td>(./App/Runtime/Temp)</td>
																<td>0.00B</td>
															</tr><tr>
																<td width="30" align="center"><input
																	class='groupclass' type="checkbox" name="cache[]"
																	value="Homeruntime" /></td>
																<td>网站~runtime.php缓存文件</td>
																<td>(./App/Runtime/~runtime.php)</td>
																<td>0.00B</td>
															</tr>
														</tbody>
														<tfoot>
															<tr>
																<th></th>
																<th class="hidden-960"></th>

																<th></th>
															</tr>
														</tfoot>

													</table>


													<div class="form-actions" style="text-align: center">
														<div class="span4">
															<button type="submit" class="btn green">
																<i class="m-icon-swapright m-icon-white"></i>开始清理
															</button>
														</div>

														<div class="span2">
															<button type="button" class="btn" id="checkall">全选</button>
														</div>
														<div class="span2">
															<button type="button" class="btn red" id="check_cancel">取消</button>
														</div>
														<div class="span2">
															<button type="button" class="btn blue" id="check_reverse">反选</button>
														</div>
													</div>

												</form>


											</div>

										</div>
										<!--end span9-->
									</div>
									<!--end tab-pane-->
								</div>
							</div>
							<!--END TABS-->
						</div>
					</div>
					<!-- END PAGE CONTENT-->
				</div>
				<!-- END PAGE CONTAINER-->
			</div>
			<!-- END PAGE -->
		</div>
		<!-- END CONTAINER -->
		
        <!-- BEGIN FOOTER -->
        <div class="footer">
            <div class="footer-inner">
                2013 &copy; 绿荫工作室.
            </div>
            <div class="footer-tools">
                <span class="go-top">
                <i class="icon-angle-up"></i>
                </span>
            </div>
        </div>
        <!-- END FOOTER -->
         
    <!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
    <!-- BEGIN CORE PLUGINS -->
    <script src="/greencms/Public/admin/assets/plugins/jquery-1.10.1.min.js" type="text/javascript"></script>
    <script src="/greencms/Public/admin/assets/plugins/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>
    <!-- IMPORTANT! Load jquery-ui-1.10.1.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
    <script src="/greencms/Public/admin/assets/plugins/jquery-ui/jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script>      
    <script src="/greencms/Public/admin/assets/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
    <!--[if lt IE 9]>
    <script src="/greencms/Public/admin/assets/plugins/excanvas.min.js"></script>
    <script src="/greencms/Public/admin/assets/plugins/respond.min.js"></script>  
    <![endif]--> 
    <script src="/greencms/Public/admin/assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
    <script src="/greencms/Public/admin/assets/plugins/jquery.blockui.min.js" type="text/javascript"></script>  
    <script src="/greencms/Public/admin/assets/plugins/jquery.cookie.min.js" type="text/javascript"></script>
    <script src="/greencms/Public/admin/assets/plugins/uniform/jquery.uniform.min.js" type="text/javascript" ></script>
    <!-- END CORE PLUGINS -->
    <!-- BEGIN PAGE LEVEL PLUGINS -->
    <script type="text/javascript" src="/greencms/Public/admin/assets/plugins/select2/select2.min.js"></script>
    <script type="text/javascript" src="/greencms/Public/admin/assets/plugins/data-tables/jquery.dataTables.js"></script>
    <script type="text/javascript" src="/greencms/Public/admin/assets/plugins/data-tables/DT_bootstrap.js"></script>
    <!-- END PAGE LEVEL PLUGINS -->
    <!-- BEGIN PAGE LEVEL SCRIPTS -->
    <script src="/greencms/Public/admin/assets/scripts/app.js"></script>
    <script src="/greencms/Public/admin/assets/scripts/table-managed.js"></script>
    <script type="text/javascript" src="/greencms/Public/admin/assets/plugins/bootstrap-fileupload/bootstrap-fileupload.js"></script>
    <script type="text/javascript" src="/greencms/Public/admin/assets/plugins/chosen-bootstrap/chosen/chosen.jquery.min.js"></script>
    <script src="/greencms/Public/admin/assets/scripts/form-wizard.js"></script>
    <script type="text/javascript" src="/greencms/Public/admin/assets/plugins/bootstrap-wizard/jquery.bootstrap.wizard.min.js"></script>
    <script type="text/javascript" src="/greencms/Public/admin/assets/plugins/jquery-validation/dist/jquery.validate.min.js"></script>
		<script>
		
		jQuery(document).ready(function() {       
		
			$("#cache_table :checkbox").attr("checked", true);
			   App.init();
			  TableManaged.init();
			   
			  $("#checkall").click(function() { //":checked"匹配所有的复选框
					$("#cache_table :checkbox").attr("checked", true); //"#div1 :checked"之间必须有空格checked是设置选中状态。如果为true则是选中fo否则false为不选中
					$("span").addClass("checked"); 
				});
				$("#check_cancel").click(function() {
					$("#cache_table :checkbox").attr("checked", false);
					$("span").removeClass("checked"); 
				});
				//理解用迭代原理each（function(){}）
				$("#check_reverse").click(function() {
					$("#cache_table :checkbox").each(function() {
					
						$(this).attr("checked", !$(this).attr("checked")); 
						$(this).parentsUntil('div').toggleClass("checked");
						
						
						//!$(this).attr("checked")判断复选框的状态：如果选中则取反
					});
				});
			
				
		});
			//			

		</script>
	
</body>
<!-- END BODY -->
</html>